@import './icons.css';

.d-flex {
	display: flex;
}

.a-center {
	align-items: center;
}

.j-center {
	justify-content: center;
}

.f1 {
	flex: 1 !important;
}

.text-center {
	text-align: center;
}

.text-dark {
	color: #555 !important;
}

.mt-5 {
	margin-top: 5px;
}

.center {
	margin: 0 auto;
}

.d-none {
	display: none !important;
}

.text-small {
	font-size: .9rem !important;
}

.text-bold {
	font-weight: bold;
}

.page-header {
	background: linear-gradient(to bottom, #a4c8f9, #f3f3f3);
	height: 190px;
	position: fixed;
	width: 100%;
	z-index: -1;
	padding-bottom: 80px;
	top: 0;
}

.title-header {
	display: flex;
	align-items: center;
	padding-top: 65px;
}

.-goback {
	height: 25px;
	width: 25px;
	margin-left: 15px;
	/* background-color: rgba(255,255,255,.8); */
	background-image: url('./images/back.png');
	background-size: 90%;
	background-repeat: no-repeat;
	border-radius: 5ex;
	/* border:solid 1px rgba(0,0,0,.2); */
	color: dimgray;
	text-align: center;
	justify-content: center
}

.-title {
	font-size: 1.2rem;
	max-width: calc(100% - 80px);
	min-width: calc(100% - 80px);
	text-align: center;
}

.-user-card {
	position: fixed;
	width:calc(100% - 40px);
	display: flex;
	align-items: center;
	margin: 140px 20px 0 20px;
	background: linear-gradient(to right, #aabff8, #3e71ff);
	border-radius: 1ex;
	max-height: 180px;
	overflow: hidden;
}

.-user-card>.-avatar {
	width: 60px;
	height: 60px;
	border-radius: 200px;
	border: solid 2px white;
	background-size: 80%;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
	margin: 15px;
}

.-avatar>image {
	display: block;
	margin: 2px;
	width: calc(100% - 4px);
	height: calc(100% - 4px);
	border-radius: 100px;
}

.-user-card>.-nickname {
	color: white;
	font-size: 1.2rem;
}

.bg-gray {
	background-color: #f3f3f3 !important;
}

.-page-block {
	margin: 0 20px;
	background: white;
	border-radius: 1ex;
	padding: 10px;
	font-size: 13px;
}

.-page-block .title {
	font-size: 1.2rem !important;
	display: block;
	color: #444;
}

.-tab {
	display: flex;
	align-items: center;
}

.-tab>.item {
	flex: 1;
	text-align: center;
	padding: 10px 0;
	margin: 0 20px;
	border-bottom: solid 2px transparent;
}

/* .-tab>.item:last-child,
.-tab>.item:nth-child(2) {
	border-left: solid 1px #ddd;
} */

.-tab>.item.active {
	border-bottom: solid 2px #4175fe;
	color: #4175fe;
}

.bg-image {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.-chip {
	padding: 0 6px;
	background-color: #f3f3f3;
	border: solid 1px #ddd;
	border-radius: 5ex;
	margin-right: 5px;
}

.ellipsis {
	white-space: nowrap;
	/* 防止换行 */
	overflow: hidden;
	/* 隐藏溢出的内容 */
	text-overflow: ellipsis;
	/* 用省略号代替溢出的部分 */
}



.-item {
	display: flex;
	align-items: center;
	margin: 20px;
	border-radius: .7ex;
	background-color: white;
	overflow: hidden;
}

.-item:first-child {
	margin-top: 10px !important;
}

.-item>.cover {
	margin: 20px 40px 20px 20px;
	max-width: 60px;
	min-width: 60px;
	height: 90px;
}

.-item .detail {
	max-width: calc(100% - 120px);
}

.loginWindow {
	position: fixed;
	width: 100%;
	height: 100vh;
	z-index: 99;
	display: flex;
	align-items: center;
	justify-content: center;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, .5);
}

.loginWindow>.inner {
	position: sticky;
	width: 60%;
	background-color: white;
	padding: 20px;
	border-radius: 3ex;
	box-shadow: 0 0 2px 1px rgba(0, 0, 0, .3);
}

.loginWindow>.inner>.title {
	text-align: center;
	font-size: 1rem;
	color: black;
	margin-bottom: 15px;
}

.loginWindow>.inner>.body {
	font-size: small;
	padding: 0 15px;
	margin-bottom: 15px;
}

.loginWindow>.inner>.confrimBtn {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.loginWindow>.inner>.confrimBtn>.confirm {
	font-size: small;
	background-color: #36C0AA;
	color: white;
	margin: 0 5px;
}

.loginWindow>.inner>.confrimBtn>.cancle {
	flex: 1;
	margin: 0 5px;
	text-align: center;
	color: orangered;
	font-size: small;
}

.background-circle {
	width: 130px;
	height: 130px;
	border: solid 20px rgba(255, 255, 255, .2);
	display: inline-block;
	border-radius: 550px;
	position: fixed;
	top: 150px;
	right: 0;
	z-index: 1;
}